/*
 * @(#)User.java 2021年3月8日
 *
 * Copyright (c) 2010 by rayootech.com. All rights reserved.
 */
package com.nuctech.common.entity;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * 用户表
 * 
 * @author lilu
 * @date 2021年3月8日
 * @since 1.0.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@Entity(name = "shop_user")
@ApiModel(value="User对象", description="用户表")
public class User {
	
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@ApiModelProperty(value = "主键编号")
	private Integer	uid;
	
	@ApiModelProperty(value = "用户名")
	private String	username;
	
	@ApiModelProperty(value = "密码")
	private String	password;
	
	@ApiModelProperty(value = "手机号")
	private String	telphone;

}
